import request from "@/utils/request";

export function login(data) {
    return request(`/login?username=${data.username}&password=${data.password}`, 'post')
}

export function getMenus(params) {
    return request('/routes?id=' + params, 'get')
}